<!DOCTYPE html>
<html>
<head>
	<title>阳新帝豪装饰后台---新增工单</title>
	{include file="public/head" /}
	{load href="/static/js/publicAdd.js" /}
</head>
<body class="childrenBody">
<form class="layui-form" action="" lay-filter="example" method="post"  enctype="multipart/form-data">
	<div class="layui-form-item">
		<label class="layui-form-label">3d效果图路径</label>
		{volist name="data.pathUrl" id="vo"}
			<div class="layui-input-block">
				<input type="text" name="url[{$key}]" value="{$vo}"  lay-verify="title" autocomplete="off" placeholder="请输入路径" class="layui-input">
			</div>
		{/volist}
	</div>
	<div class=" input-item layui-form-item">
			<label class="layui-form-label">施工图片</label>
		<div class="layui-input-block">
			<button type="button" class="layui-btn" id="notThumbnail">多图片上传</button>
		</div>
	</div>
	<div class="layui-row input-item layui-form-item">
		<label class="layui-form-label">预览图：</label>
		<div class="layui-input-block">
			<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">
				<div class="layui-upload-list" id="demo2"></div>
			</blockquote>
		</div>
	</div>
	<div class="layui-row input-item layui-form-item">
		<label class="layui-form-label">已上传图片：</label>
		<div class="layui-input-block">
			<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">
				{volist name="data.img" id="vo"}
				<img style="width: 85px;height: 85px;margin: 5px 5px 5px 5px" src="{$vo.path}"  class="layui-upload-img">
				<input type="hidden" name ="img_id[{$key}]" value="{$vo.img_id}">
				<a href="javascript:;" class = "delImg" data-id ='{$vo.img_id}' data-ids = "{$key}"  onclick="delImg(this)" >删除</a>
				{/volist}
			</blockquote>
		</div>
	</div>
	<div id="imgID"></div>
	<div id="remove">
		<input type="hidden" name ="del_img_id" id="del_img_id" value="">
	</div>
	<input type="hidden" value="{$order_number}" name="order_number">
	<input type="hidden" value="{$addUrl}" id="addUrl">
	<div class="layui-form-item">
		<div class="layui-input-block">
			<button class="layui-btn" lay-submit="" lay-filter="submit" >立即提交</button>
		</div>
	</div>
</form>
</body>
</html>